home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1570 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  2.1 KB  |  56 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 40 && _root.range == true)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "Hey, that\'s a great idea.  I\'ll have a girlfriend in no time...  in JAIL!  ARE YOU NUTS?";
  8.       }
  9.       else if(_root.micon._currentframe == 41 && _root.range == true)
  10.       {
  11.          _root.next_dis1 = 2;
  12.          _root.next_txt1 = "I don\'t think I want to make Skippy cry.";
  13.       }
  14.       if(_root.micon._currentframe == 1 && _root.range == true)
  15.       {
  16.          _root.next_dis1 = 2;
  17.          _root.next_txt1 = "I\'d rather not touch him he seems fragile.";
  18.       }
  19.       if(_root.micon._currentframe == 2)
  20.       {
  21.          _root.next_dis1 = 2;
  22.          _root.next_txt1 = "Ok I\'m sure my glasses are broken... skippy is out of the bathroom!!";
  23.       }
  24.       if(_root.micon._currentframe == 4 && _root.range == true && _root.txt_number <= 1)
  25.       {
  26.          if(_root.talk8 == 1)
  27.          {
  28.             _root.talk8 = 2;
  29.             _root.txt_number = 5;
  30.             _root.next_dis5 = 2;
  31.             _root.di5 = 294;
  32.             _root.next_txt5 = "Skippy? You\'re out of the bathroom?";
  33.             _root.next_txt4 = "I never thought I\'d ever come this far, but it\'s great! You know there\'s a whole world out here?";
  34.             _root.di4 = 295;
  35.             _root.next_dis4 = 10;
  36.             _root.next_txt3 = "Yeh there is... So uh... Do you think you could help me out with finding a date to the dance?";
  37.             _root.di3 = 296;
  38.             _root.next_dis3 = 2;
  39.             _root.next_txt2 = "Sure. All I got is this Gam-O-Tek hacker in my pocket if that\'s of any use to you.";
  40.             _root.di2 = 297;
  41.             _root.next_dis2 = 10;
  42.             _root.next_txt1 = "Hey, thanks Skippy. I\'m pretty sure this might come in handy.";
  43.             _root.di1 = 298;
  44.             _root.next_dis1 = 2;
  45.          }
  46.          else if(_root.talk8 == 2)
  47.          {
  48.             _root.txt_number = 1;
  49.             _root.next_dis1 = 10;
  50.             _root.next_txt1 = "WOW! The air is so clean!";
  51.             _root.di1 = 299;
  52.          }
  53.       }
  54.    }
  55. }
  56.